/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmti.skeleton.service;

import com.cmti.skeleton.entity.SysLog;
import java.util.List;

/**
 * 系统日志服务
 *
 * @author danny
 */
public interface SysLogService {

    /**
     * 记录日志
     *
     * @param entity
     */
    void add(SysLog entity);

    /**
     * 按照查询条件获取日志列表
     *
     * @param dto 继承自SysLog的DTO
     * @return
     */
    List<SysLog> getList(SysLog dto);

}
